@import '../../../../styles/variables';
.box {
    .box-footer {
        height: 30px;
        overflow: hidden;
        border-left: 1px solid $table-tr-border;
        border-right: 1px solid $table-tr-border;
        border-bottom: 1px solid $table-tr-border;
    }
}

// 表头固定
.box-head {
    border: 1px solid #D4DAE4;
    border-bottom: none;
    &::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 2px;
        opacity: 0.1;
        box-sizing: border-box;
        // border: 1px solid #D4DAE4;
        border-bottom: none;
        // border-left:transparent;
        border-top: none;
    }
    overflow-y: scroll;
    table {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        table-layout: fixed;
    }
    thead {
        box-sizing: border-box;
        width: calc( 100% - 1em);
        // width: 100%;
    }
    thead th {
        box-sizing: border-box;
        height: 30px;
        padding-left: .6em;
        font-weight: normal;
        font-size: 12px;
        font-family: PingFangSC-Semibold;
        // border:1px solid $table-tr-border;
        border-left: 1px solid $table-tr-border;
        border-bottom: none;
        color: rgba(102, 102, 102, 1);
        font-weight: bolder;
    }
    thead th:first-child {
        border-left: 1px solid transparent;
    }
}

// table内容
.box-body {
    box-sizing: border-box;
    // height: 395px;
    overflow-y: scroll;
    border: 1px solid $table-tr-border;
}

.box-body .m-table {
    box-sizing: border-box;
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    // height: 395px; 
    margin-bottom: 10px;
    background-color: $table-bg; // Reset for nesting within parents with `background-color`.
    tbody {
        width: 100%;
    }
    tbody tr {
        width: 100%;
        height: 36px;
        line-height: 36px;
        // display:table;  
        width: 100%;
        table-layout: fixed;
    }
    tbody tr:hover {
        background-color: $table-tr-color-hover !important;
    }
    tbody tr td {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        height: 34px;
        font-size: 14px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: $table-font-color;
        padding-left: .6em;
        border: 1px solid $table-tr-border;
    }
    tbody tr:first-child td {
        border-top: none;
    }
    tbody tr td:first-child {
        border-left: none;
    }
    tbody tr td:last-child {
        border-right: none;
    }
    &.m-table-striped {
        tbody tr:nth-of-type(even) {
            background-color: rgba(247, 247, 252, 1);
        }
    }
}

// 修改滚动调样式
div::-webkit-scrollbar {
    width: 6px;
    height: 10px;
}

div::-webkit-scrollbar-track {
    background: rgb(239, 239, 239);
    border-radius: 2px;
    opacity: 0.1;
}

div::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .6);
    border-radius: 10px;
    border-radius: 3px;
    opacity: 0.6;
}

div::-webkit-scrollbar-thumb:hover {
    background: #333;
}

div::-webkit-scrollbar-corner {
    background: #179a16;
}

.table-add {
    font-size: 12px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    line-height: 40px;
    margin-right: 5px;
    width: 44px;
    text-align: center;
    font-size: 14px;
    a {
        display: inline-block;
        width: 44px;
        height: 24px;
        line-height: 24px;
        transition: none;
        text-decoration: none;
        border-radius: 2px;
        background-color: #fff;
        border: 1px solid rgba(212, 218, 229, 1);
        color: #222;
    }

    a.steps_btn_look{
      background:rgba(255,255,255,1);
    }
    a.steps_btn_look:hover{
      background:rgba(238,243,253,1);
    }
    a.steps_btn_handle{
      background:rgba(59,161,255,1);
      color:rgba(255,255,255,1);
    }
    a.steps_btn_handle:hover{
      background:rgba(48,144,232,1);
      color:rgba(255,255,255,1);
    }
}
